Package com.cisco.pt.ipc.sim.impl
Class OSPFAreaNetworkImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.OSPFAreaNetworkImpl
- All Implemented Interfaces:
IPCData,OSPFAreaNetwork
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidsetIpAndMask(Pair<IPAddress, IPAddress> ipAndMask) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
areaId
-
ipAndMask
-
-
Constructor Details
-
OSPFAreaNetworkImpl
public OSPFAreaNetworkImpl()
-
-
Method Details
-
getAreaId
- Specified by:
getAreaIdin interfaceOSPFAreaNetwork- Returns:
- IPAddress Returns a IPAddress
-
setAreaId
- Specified by:
setAreaIdin interfaceOSPFAreaNetwork- Parameters:
areaId- Takes in a parameter of areaId
-
getIpAndMask
- Specified by:
getIpAndMaskin interfaceOSPFAreaNetwork- Returns:
- Pair<IPAddress, IPAddress> Returns a Pair<IPAddress, IPAddress>
-
setIpAndMask
- Specified by:
setIpAndMaskin interfaceOSPFAreaNetwork- Parameters:
ipAndMask- Takes in a parameter of ipAndMask
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-